package com.hieuzest.citsaw;

import android.app.Application;

import com.amap.api.maps.AMap;
import com.hieuzest.citsaw.beam.Jigsaw;
import com.hieuzest.citsaw.beam.Piece;

/**
 * Created by Giraffe on 2017/11/25.
 */

public class AndroidApplication extends Application {

    public Jigsaw CurrentJigsaw;
    public int CurrentUID = 0;
    public double CurrentX;
    public double CurrentY;
    public float CurrentBearing;
    public Piece CurrentFoundPiece;
    public AMap aMap;

    private static AndroidApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
    }

    public static AndroidApplication getInstance() {
        return instance;
    }

}
